/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package manager;

import dao.ProfessorDao;
import entity.Professor;
import java.util.List;

/**
 *
 * @author daz
 */
public class ProfessorManager {

    private ProfessorDao professorDao;

    public void setProfessorDao(ProfessorDao professorDao) {
        this.professorDao = professorDao;
    }

    public ProfessorDao getProfessorDao() {
        return professorDao;
    }

    public List<Professor> getListProfessors() {
        return professorDao.getListProfessors();
    }

    public void insertNewProfessor(Professor professor) {
       this.professorDao.insertNewProfessor(professor);
    }
}
